package com.adee.gulimall.member.feign;

import com.adee.gulimall.util.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    @GetMapping("coupon/coupon/member/list/{member_level}")
    public R memberCoupons(@PathVariable("member_level") Integer memberLevel);
}
